From 4515e6c2538b09e0cbf7b318a04ec61c5dc76dc2 Mon Sep 17 00:00:00 2001 From: Lance Lin Date: Wed, 13 Apr 2022 19:44:02 +0700 Subject: [PATCH] Fixed typo, forgot 'id' command --- debian/dcmtk.postrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/dcmtk.postrm b/debian/dcmtk.postrm index 17d01187..5a493f48 100644 --- a/debian/dcmtk.postrm +++ b/debian/dcmtk.postrm @@ -16,7 +16,7 @@ if [ "$1" = "purge" ] ; then fi # Remove dcmtk user/group if they exist on cleanup -if -u "dcmtk" > /dev/null 2>&1; then +if id -u "dcmtk" > /dev/null 2>&1; then echo "Removing 'dcmtk' user and group from the system...\n" userdel dcmtk fi -- 2.30.2